﻿<Window x:Class="YLClient.Login"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:src="clr-namespace:YLClient"
        Title="影楼端" Height="331" Width="296" WindowStartupLocation="CenterScreen" WindowStyle="SingleBorderWindow" Background="#FFF0F0F0" ResizeMode="NoResize" xmlns:my="clr-namespace:YLClient.UserControls" Loaded="Window_Loaded">

    <Grid>
       
        <Button  
            Content="登录" Height="51" HorizontalAlignment="Left" Margin="88,169,0,0" Name="btnLogin" VerticalAlignment="Top" Width="114" Click="btnLogin_Click" IsDefault="True" TabIndex="3" >
        </Button>

        <TextBox Height="23" HorizontalAlignment="Left" Margin="110,76,0,0" Name="txtName" VerticalAlignment="Top" Width="120" Text="" Background="#FFF7F7F7" TabIndex="1" ForceCursor="True" Focusable="True" />
        <Label Content="用户名" Height="28" HorizontalAlignment="Left" Margin="47,74,0,0" Name="label1" VerticalAlignment="Top" />
        <Label Content="密码" Height="28" HorizontalAlignment="Left" Margin="47,108,0,0" Name="label2" VerticalAlignment="Top" />
        <ProgressBar Name="pgbLogin"
            Height="28"   HorizontalAlignment="Stretch" Margin="0,233,0,0"  VerticalAlignment="Bottom" Width="Auto" Value="100" IsEnabled="False" IsHitTestVisible="True" Visibility="Hidden" Padding="0,10" >
        </ProgressBar>
        <PasswordBox Height="23" HorizontalAlignment="Left" Margin="110,113,0,0" Name="txtPwd" VerticalAlignment="Top" Width="120" Password="" Background="#FFF7F7F7" TabIndex="2" />
        <my:LabelButton HorizontalAlignment="Left" Margin="118,238,0,0" x:Name="btnNetworkSet" VerticalAlignment="Top" TabIndex="4" />
    </Grid>
</Window>
